gesture/gesture-stretch-symbolic.svg \
gesture/gesture-rotate-clockwise-symbolic.svg \
gesture/gesture-rotate-anticlockwise-symbolic.svg \
+ gesture/gesture-swipe-left-symbolic.svg \
+ gesture/gesture-swipe-right-symbolic.svg \
gesture/gesture-two-finger-swipe-left-symbolic.svg \
gesture/gesture-two-finger-swipe-right-symbolic.svg
subtitle = _("Two finger swipe right");
break;
+ case GTK_SHORTCUT_GESTURE_SWIPE_LEFT:
+ subtitle = _("Swipe left");
+ break;
+
+ case GTK_SHORTCUT_GESTURE_SWIPE_RIGHT:
+ subtitle = _("Swipe right");
+ break;
+
default:
subtitle = NULL;
break;
icon = g_themed_icon_new ("gesture-two-finger-swipe-right-symbolic");
break;
+ case GTK_SHORTCUT_GESTURE_SWIPE_LEFT:
+ icon = g_themed_icon_new ("gesture-swipe-left-symbolic");
+ break;
+
+ case GTK_SHORTCUT_GESTURE_SWIPE_RIGHT:
+ icon = g_themed_icon_new ("gesture-swipe-right-symbolic");
+ break;
+
default: ;
icon = NULL;
break;
* @GTK_SHORTCUT_GESTURE:
* The shortcut is a gesture. The #GtkShortcutsShortcut:icon property will be
* used.
+ * @GTK_SHORTCUT_GESTURE_SWIPE_LEFT:
+ * The shortcut is a swipe gesture. GTK+ provides and icon and subtitle. Since 3.90
+ * @GTK_SHORTCUT_GESTURE_SWIPE_RIGHT:
+ * The shortcut is a swipe gesture. GTK+ provides and icon and subtitle. Since 3.90
*
* GtkShortcutType specifies the kind of shortcut that is being described.
* More values may be added to this enumeration over time.
GTK_SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE,
GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT,
GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT,
- GTK_SHORTCUT_GESTURE
+ GTK_SHORTCUT_GESTURE,
+ GTK_SHORTCUT_GESTURE_SWIPE_LEFT,
+ GTK_SHORTCUT_GESTURE_SWIPE_RIGHT
} GtkShortcutType;
GDK_AVAILABLE_IN_3_20